]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix remaining uses of transition-duration without time units
authorRui Matos <tiagomatos@gmail.com>
Sat, 12 Jan 2013 00:29:10 +0000 (01:29 +0100)
committerRui Matos <tiagomatos@gmail.com>
Sat, 12 Jan 2013 16:39:08 +0000 (17:39 +0100)
Commit 8be3c5ed21643369f963e4638a578e32271ce749 changed the CSS parser
to only accept values with explicit time units.

js/ui/panel.js
tests/testcommon/test.css

index dada027a3a5d2fee5538394d4e1065b3cbfafcb7..62d3b7f10ffe569ab54139cf0befbd32808a23e5 100644 (file)
@@ -852,7 +852,7 @@ const PanelCorner = new Lang.Class({
 
             // The corner doesn't support theme transitions, so override
             // the .panel-button default
-            button.style = 'transition-duration: 0';
+            button.style = 'transition-duration: 0ms';
         }
     },
 
index 6cbadfbb7f0a783251c82bbdb1f52f8a9cac5d62..a181c8a997467e38d102a7bf406ae457be59b17b 100644 (file)
@@ -98,7 +98,7 @@ stage {
     background-color: #333;
     border: 2px solid black;
     border-radius: 8px;
-    transition-duration: 1000; /* One second */
+    transition-duration: 1s;
 }
 
 #transition-container:hover .transition-label {